package pojo;

import java.util.ArrayList;

public class CommentArray {
    private Comments comments;
    private ArrayList<Comments> childComments;

    public CommentArray() {
    }

    public CommentArray(Comments comments, ArrayList<Comments> childComments) {
        this.comments = comments;
        this.childComments = childComments;
    }

    public Comments getComments() {
        return comments;
    }

    public void setComments(Comments comments) {
        this.comments = comments;
    }

    public ArrayList<Comments> getChildComments() {
        return childComments;
    }

    public void setChildComments(ArrayList<Comments> childComments) {
        this.childComments = childComments;
    }

    @Override
    public String toString() {
        return "CommentArray{" +
                "comments=" + comments +
                ", childComments=" + childComments +
                '}';
    }
}
